export const option = {
  border: true,
  stripe: true,
  addBtn: false,
  editBtn: false,
  viewBtn: false,
  printBtn: false,
  simplePage: true,
  searchBtnText: '搜索',
  emptyBtnText: '清空',
  dialogType: 'drawer',
  searchMenuSpan: 6, //搜索按钮是否单独成行
  index: true,
  indexLabel: '序号',
  column: [
    {
      label: '准入申请单号',
      prop: 'applyCode',
      searchLabelWidth: 110, //搜索label宽度
      search: true, //启动搜索
      searchSpan: 6 // 搜索栏 布局
    },
    {
      label: '供应商名称',
      prop: 'supplierName',
      searchLabelWidth: 110, //搜索label宽度
      search: true, //启动搜索
      searchSpan: 6 // 搜索栏 布局
    },
    {
      label: '供应商编码',
      prop: 'supplierCode',
      searchLabelWidth: 110, //搜索label宽度
      search: true, //启动搜索
      searchSpan: 6 // 搜索栏 布局
    },
    {
      label: '供应商类型',
      prop: 'supplierShortName'
    },
    {
      label: '考试单号',
      prop: 'supplierShortName'
    },
    {
      label: '考试等级',
      prop: 'erpSupplierCode',
      searchLabelWidth: 110, //搜索label宽度
      search: true, //启动搜索
      searchSpan: 6 // 搜索栏 布局
    },
    {
      label: '负责人',
      prop: 'purchaseEngineer',
      searchLabelWidth: 110, //搜索label宽度
      search: true, //启动搜索
      searchSpan: 6 // 搜索栏 布局
    },
    {
      label: '创建人',
      prop: 'createUser',
      searchLabelWidth: 110,
      searchSpan: 6,
      search: true
    },
    {
      label: '创建日期',
      prop: 'createTime',
      searchLabelWidth: 110,
      searchSpan: 6,
      search: true
    },
    {
      label: '状态',
      prop: 'status',
      type: 'select',
      dicUrl: '/api/blade-system/dict-biz/dictionary?code=supplier_recommend_status',
      props: {
        label: 'dictValue',
        value: 'dictKey'
      },
      searchLabelWidth: 110,
      searchMultiple:true,
      searchSpan: 6,
      slot: true,
      search: true
    }
  ]
}

export const page = {
  currentPage: 1,
  total: 40,
  layout: 'total, sizes, prev, pager, next, jumper',
  pageSizes: [10, 20, 50, 100],
  pageSize: 10
}
